package com.sfac.modules.account.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sfac.modules.account.domain.User;
import com.sfac.modules.common.vo.Result;
import com.sfac.modules.common.vo.Search;

/**
 * @Author:唐琳的爹
 * @BelongsProject:hqyj_springboot
 * @BelongsPackage:com.sfac.modules.account.service
 * @CreateTime:2022/8/27 14:20:11
 */
public interface UserService {

    Result<String> login (User user);

    Result<String> register(User user);


    Result<Page> getUserBySearchBean(Search search);

    Result<User> getUserById(String id);

    Result<User> deleteUserById(String id);

    Result<User> updateUser(User user);

    User getUserByUserName(String userName);


}
